package com.example.selfcontrol.service.Mongo;

import com.example.selfcontrol.config.Response;
import com.example.selfcontrol.entity.Mongo.MongoArticleInfo;

import java.util.Date;
import java.util.List;

public interface ArticleInfoService {

    Response insertArticleInfo(Long articleId, Long authorId, String Content,
                               Long articleCategory, Date createtime);

    List<List<MongoArticleInfo>> getInfoIndex();

    List<MongoArticleInfo> CategoryPagination(int cid, int pageNum, int pageSize);
}
